﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _111_对象池
{
    class BulletEntity : Entity
    {
        public BulletEntity(EntityData data)
        {
            InitData(data);
        }

        //public BulletEntity()
        //{
            
        //}

        public override void Destroy()
        {
            EntiyPool.pools.Push(this);
            Console.WriteLine("销毁{0}", Name);
        }
    }
}
